﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.HttpRequestMonitor.Core.Enums
{
    /// <summary>
    /// 监控类型
    /// </summary>
    public enum MonitorType
    {
        /// <summary>
        /// 未定义
        /// </summary>
        UnDefine = 0,

        /// <summary>
        /// 请求超时
        /// </summary>
        ResponseTimeOut = 1,

        /// <summary>
        /// 响应错误
        /// </summary>
        ResponseError = 2,

        /// <summary>
        /// 某个地址(api或页面)请求量过多
        /// </summary>
        ToManyRequestWithAddress = 3,

        /// <summary>
        /// 单个远程地址请求量过多
        /// </summary>
        ToManyRequestBySingleRemoteAddress = 4,
    }
}
